package com.backend.apartment.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.backend.common.annotation.Excel;
import com.backend.common.core.domain.BaseEntity;

/**
 * 公寓类型对象 apartment_type
 * 
 * @author ruoyi
 * @date 2024-10-04
 */
public class ApartmentType extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 类型ID */
    private Long apartmentTypeId;

    /** 公寓ID */
    @Excel(name = "公寓ID")
    private Long apartmentId;

    /** 类型名称 */
    @Excel(name = "类型名称")
    private String typeName;

    /** 类型值 */
    @Excel(name = "类型值")
    private String typeValue;

    public void setApartmentTypeId(Long apartmentTypeId) 
    {
        this.apartmentTypeId = apartmentTypeId;
    }

    public Long getApartmentTypeId() 
    {
        return apartmentTypeId;
    }
    public void setApartmentId(Long apartmentId) 
    {
        this.apartmentId = apartmentId;
    }

    public Long getApartmentId() 
    {
        return apartmentId;
    }
    public void setTypeName(String typeName) 
    {
        this.typeName = typeName;
    }

    public String getTypeName() 
    {
        return typeName;
    }
    public void setTypeValue(String typeValue) 
    {
        this.typeValue = typeValue;
    }

    public String getTypeValue() 
    {
        return typeValue;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("apartmentTypeId", getApartmentTypeId())
            .append("apartmentId", getApartmentId())
            .append("typeName", getTypeName())
            .append("typeValue", getTypeValue())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
